/*
 * Copyright (C) 2018 yixun All Rights Reserved.
 *
 * ApiLogMapper.java
 */
package com.yixun.qfbao.mapper;

import com.yixun.qfbao.model.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChannelReportMapper {

    int getChannelCooOrgReportCount(@Param("param") ChannelReportParam param);

    List<ChannelCooOrgReport> getChannelCooOrgReportList(
            @Param("param") ChannelReportParam param,
            @Param("beginNum") int beginNum, @Param("endNum") int endNum);

    int getChannelCooOrgAgentReportCount(@Param("param") ChannelReportParam param);

    List<ChannelCooOrgAgentReport> getChannelCooOrgAgentReportList(
            @Param("param") ChannelReportParam param,
            @Param("beginNum") int beginNum, @Param("endNum") int endNum);

    int getCustomerSuccessCount(@Param("param") CustomerCountParam param);

    int getCustoemrComeToCount(@Param("param") CustomerCountParam param);

}
